import "./App.css";
import axiosInstance from "./axios";
import { PostsList } from "./features/posts/PostsList";
function App() {
  const fetchData = async () => {
    const result = await axiosInstance("getPostList");
    console.log(result);
  };

  return (
    <>
      <button onClick={fetchData}>点一下</button>
      <PostsList />
    </>
  );
}

export default App;
